package com.example.blogapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.blogapi.domain.MsTag;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
* @author 13723
* @description 针对表【ms_tag】的数据库操作Mapper
* @createDate 2022-10-20 22:20:01
* @Entity .domain.MsTag
*/
@Mapper
public interface MsTagMapper extends BaseMapper<MsTag> {


    List<MsTag> getTagsByArticleId(long articleId);

    List<MsTag> getHotTags(int limit);
}
